package com.wiken.commentservice.service;

import com.wiken.commentservice.entity.Like;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author wiken
 * @since 2022-12-28
 */

public interface ILikeService extends IService<Like> {
    boolean like(Like like, String token);

    boolean cancleLike(Like like, String token);

    Integer getLikeNumberByCommentId(String commentId);

    boolean hasLike(String commentId, String userId);
}
